Skip to content

Support trait objects in type info reflection#151239

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
izagawd:comptime-reflection-dyn-trait-variant
Jan 28, 2026
Merged

Support trait objects in type info reflection#151239
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
izagawd:comptime-reflection-dyn-trait-variant

Conversation

@izagawd
Copy link
Copy Markdown
Contributor

@izagawd izagawd commented Jan 17, 2026

Tracking issue: #146922

Adds type_info support for trait object types by introducing a DynTrait variant

I can't seem to get it to work correctly with dyn for<'a> Foo<'a>, though it works fine for normal dyn Foo trait objects

r? @oli-obk

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs F-type_info #![feature(type_info)] S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants